function changeLanguage(language)
{
    $.ajax({
        type: "POST",
        url: "/login/changelanguage",
        data: "new_lang="+language,
        dataType:"text",
        async: true,
        error: function() {
        	alert(messageStrings.myChange_language);
        },
        success: function(data) {
            window.location.reload();
        }
    });
 }